#include <iostream>
#include <string>

using namespace std;

class stu
{
private:
    string name ;
    int soc;

protected:
    string Class;
    int id;

public:
    void show_name(void)
    {
        cout<<name <<"的名字 = " << name << endl;
    }

    void show_soc(void)
    {
        cout << name << "的成绩 = "<< soc << endl;
    }

public:
    void set_Class(string set_Class , string set_name)
    {
        Class = set_Class;
        name =set_name;
    }
    void set_soc(int set_soc ,string set_name)
    {
        soc = set_soc;
        name = set_name;
    }
};





int main(int argc, char const *argv[])
{
    stu s1;

    s1.set_soc(50,"张三");

    s1.show_soc();
    
    return 0;
}
